package com.jeehentor.system.mapper;

import com.jeehentor.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 系统菜单表 Mapper 接口
 * </p>
 *
 * @author wzd
 * @since 2024-04-01
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 获取用户动态路由
     * @param userId
     * @return
     */
    List<SysMenu> getRouter(String userId);
}
